package c.e.a.b.f.b;

import android.os.Bundle;
import c.b.a.a.a;
import com.google.android.gms.measurement.internal.zzap;
import com.google.android.gms.measurement.internal.zzaq;

/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class u3 {
    public String a;
    public String b;
    public long c;
    public Bundle d;

    public u3(String str, String str2, Bundle bundle, long j) {
        this.a = str;
        this.b = str2;
        this.d = bundle;
        this.c = j;
    }

    public static u3 b(zzaq zzaq) {
        return new u3(zzaq.a, zzaq.c, zzaq.b.c(), zzaq.d);
    }

    public final zzaq a() {
        return new zzaq(this.a, new zzap(new Bundle(this.d)), this.b, this.c);
    }

    public final String toString() {
        String str = this.b;
        String str2 = this.a;
        String valueOf = String.valueOf(this.d);
        StringBuilder stringBuilder = new StringBuilder(valueOf.length() + (String.valueOf(str2).length() + (String.valueOf(str).length() + 21)));
        stringBuilder.append("origin=");
        stringBuilder.append(str);
        stringBuilder.append(",name=");
        stringBuilder.append(str2);
        return a.d(stringBuilder, ",params=", valueOf);
    }
}
